CsvBlockFree

 

The 'CsvBlockFree' function frees the CsvBlock's memory.

 

void @CsvBlockFree(int id);

 

Parameters

int id : id assigned by CsvBlockLoad() or CsvBlockNew()

 

Return Value
None

 

Example
@DialogSetFilter("Csv files|*.csv|");

retn = @DialogFileOpen($filename);

if(retn == 1) {

   @CsvBlockFree($ID);

   $ID = @CsvBlockLoad($filename, 2, 50);

   @CsvBlockSet($ID, "ex.txt", 0);

   $Number = 0;

}

Description : If a file is selected in 'FileOpen Dialogbox', the previous CsvBlock's memory is freed and the new data is stored.

 

Relate items)

@CsvBlockDelete()

@CsvBlockFree()

@CsvBlockGet()

@CsvBlockGetText()

@CsvBlockInsert()

@CsvBlockLoad()

@CsvBlockNew()

@CsvBlockSave()

@CsvBlockSearchPos()

@CsvBlockSet()